package cn.jiahua.service;

import cn.jiahua.pojo.User;
import java.util.List;

public interface UserService {

    public List<User> getUserListByPage(Integer pageNo, Integer pageSize, String userName, Integer roleId);

    public int addUser(User user);

    public User login(String userCode,String password);

    public int totalcount(String userName,Integer userRole);

    public User viewUserById(Integer id);

    public User isUserCodeExist(String userCode);

    public int  delUserById(Integer id);



}
